﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Input;
using SimpleJson;
using System.Collections.Generic;

namespace MetroEventbrite.External.Eventbrite
{
    public class EBTicket
    {
        public static EBTicket Load(string json)
        {
            var result = new EBTicket();

            JsonObject jsonObj;
            try
            {

                jsonObj = (JsonObject)SimpleJson.SimpleJson.DeserializeObject(json);
            }
            catch (Exception ex)
            {
                return result;
            }
            return Load(jsonObj);
        }

        public static EBTicket Load(JsonObject data)
        {
            var result = new EBTicket();
            return result;
        }

    }
}